﻿using System.Diagnostics.Contracts;

namespace OpenLS.Spreadsheet
{
    internal class StyleFormattingRecord : FormattingRecord
    {
        private CellStyle _cellStyle;


        public CellStyle Style
        {
            get { return _cellStyle; }
            set
            {
                Contract.Requires(Style == null);
                Contract.Requires(value != null);
                _cellStyle = value;
            }
        }


        public override StyleFormattingRecord Parent
        {
            get { return null; }
        }
    }
}